From: Daniel Boles Date: Fri, 29 Jun 2018 17:53:54 +0000 (+0100) Subject: defaultvalue: Ignore property to actually pass X-Git-Tag: archive/raspbian/3.24.39-1+rpi1~1^2~65^2~34^2~21 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success/%22http:/www.example.com/cgi/success?a=commitdiff_plain;h=908d4f1d1fe327697f2d9e81a175a3df0b77e6dc;p=gtk%2B3.0.git defaultvalue: Ignore property to actually pass GtkFontChooserWidget:tweak-action gets set in init(), so we have to skip testing that it is the default NULL for a GObject, or the test fails. --- diff --git a/testsuite/gtk/defaultvalue.c b/testsuite/gtk/defaultvalue.c index 05f176f950..1f73fa5825 100644 --- a/testsuite/gtk/defaultvalue.c +++ b/testsuite/gtk/defaultvalue.c @@ -232,6 +232,15 @@ G_GNUC_BEGIN_IGNORE_DEPRECATIONS strcmp (pspec->name, "cell-area-context") == 0)) continue; +G_GNUC_END_IGNORE_DEPRECATIONS + + /* This is set in init() */ + if (g_type_is_a (type, GTK_TYPE_FONT_CHOOSER_WIDGET) && + strcmp (pspec->name, "tweak-action") == 0) + continue; + +G_GNUC_BEGIN_IGNORE_DEPRECATIONS + if (g_type_is_a (type, GTK_TYPE_ICON_VIEW) && (strcmp (pspec->name, "cell-area") == 0 || strcmp (pspec->name, "cell-area-context") == 0)) @@ -380,6 +389,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS if ((pspec->flags & G_PARAM_READABLE) == 0) continue; + /* This is desktop-dependent */ if (g_type_is_a (type, GTK_TYPE_WINDOW) && strcmp (pspec->name, "decoration-button-layout") == 0) continue;